package com.jimmy.medical.entity;

import org.hibernate.annotations.NotFound;
import org.hibernate.annotations.NotFoundAction;

import javax.persistence.*;
import java.util.Set;
import java.util.TreeSet;

/**
 * @author jimmy
 * @Desc: 服务工单类型子类型
 * @date 2018-04-07
 */
@Entity
@Table(name = "flow_order_sub_type")
public class FlowOrderSubType extends AbstractEntity {

    /**
     * 类型名称
     */
    @Column(name = "type_name")
    private String typeName;

    /**
     * 类型代码
     */
    @Column(name = "type_code")
    private String typeCode;

    /**
     * 价格
     */
    @Column(name = "price", columnDefinition = "decimal(7,2)")
    private Double price;

    /**
     * 默认得分
     */
    @Column(name = "default_score")
    private Integer defaultScore;

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getDefaultScore() {
        return defaultScore;
    }

    public void setDefaultScore(Integer defaultScore) {
        this.defaultScore = defaultScore;
    }
}
